Only force update git if -u is passed
authorYehuda Katz <wycats@gmail.com>
Tue, 24 Jun 2014 01:54:13 +0000 (18:54 -0700)
committerYehuda Katz <wycats@gmail.com>
Tue, 24 Jun 2014 01:54:13 +0000 (18:54 -0700)
commit5919fa0dfc73812c70906b4b6babae182e28a9d6
tree2f6bcee956fb097522a39ad019996093a8a59863
parent860ca08ad25a05544d25ea246a6d42fdc9605ed6
Only force update git if -u is passed

This will become moot once we have a lockfile, because we'll be able to
check whether the last rev we used is still available and skip fetching.
src/bin/cargo-compile.rs
src/bin/cargo-git-checkout.rs
src/cargo/core/registry.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc.rs
src/cargo/sources/git/source.rs
src/cargo/sources/git/utils.rs
src/cargo/util/config.rs
tests/test_cargo_compile_git_deps.rs